package com.xiaoxiong.gobang.bean;

import android.util.Log;

/**
 * @author xiaoxiong
 * @Package com.xiaoxiong.gobang.bean
 * @Description:玩家
 * @email 249900679@qq.com
 * @date 2016/4/1 23:55
 */
public class Player {
    public final static int NULLPALYER = -1;//空棋位
    public final static int FIRSTPLAYER = 1;//先手
    public final static int SECONDPLAYER = 2;//后手
    public int m_playerId;//玩家ID
    public String m_playerName;//玩家名字
    public GameState m_state;//棋盘状态


    public Player(String name){
        this.m_playerName = name;
    }

    public String GetPlayerName(){
        return m_playerName;
    }

    public boolean isAi(){
        return false;
    }

    public int GetNextPosition(){
        return 0;
    }
}
